﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using FinPlusComponents;
using FinPlusCommon;

namespace FinPlusFeeds
{
    public class FinPlusYahooFeed: FinPlusComponent
    {
        public override string Id { get; set; }
        public override string[] States { get { return new string[] { }; } }
        public override string[] TestStates { get { return new string[] { }; } }
        public override IFinPlusFunctions Model { get { return _model; } }
        public override string ModelTest { get { return Model.ToString(); } }
        public override bool IsValid { get; set; }
        private readonly IFinPlusFunctions _model;

        //construct
        public FinPlusYahooFeed(string period, string days, string tickers)
        {
            _model = new Functions();
        }

        public override void Initialise()
        {

        }

        //common control interface
        public override void Dock(object component, string dock)
        {

        }

        public override void CommandRouter(IFinPlusFunction func) { }

        public override void Dispose()
        {

        }

        //private start
        private void Start()
        {


        }
    }
}
